FLAGS=-Wall -g `pkg-config --cflags --libs cairo pangocairo x11 imlib2 glib-2.0`
PROGNAME=tint
FILES=tint.c server.c window.c task.c visual.c event.c config.c
PREFIX=/usr
BINDIR=$(PREFIX)/bin
$(PROGNAME): $(FILES)
	$(CC) $(CFLAGS) $(FLAGS) -o $(PROGNAME) $(FILES)

install:
	install $(PROGNAME) $(BINDIR)
